home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-20
/
nosvw304.zip
/
NOSGAS.ZIP
/
PUBLIC
/
NOSVIEW
/
PS
< prev
next >
Wrap
Text File
|
1991-09-18
|
4KB
|
88 lines
== NOSview [137]
ps
==
_________________________________________________________________
ps
_________________________________________________________________
Display all current processes in the system. The fields are as
follows:
PID: Process ID (the address of the process descriptor).
SP: The current value of the process stack pointer.
stksize: The size of the stack allocated to the process.
maxstk: The apparent peak stack utilization of this process.
This is done in a somewhat heuristic fashion, so the numbers
should be treated as approximate. If this number reaches or
exceeds the stksize figure, the system is almost certain to
crash; NOS program should be recompiled to give the process a
larger allocation when it is started.
event: The event this task is waiting for, if it is not
runnable.
fl: Process status flags. There are three: I (Interrupts
enabled), W (Waiting for event) and S (suspended).
The I flag is set whenever a task has executed a pwait() call
(wait for event) without first disabling hardware interrupts.
Only tasks that wait for hardware interrupt events will turn off
this flag; this is done to avoid critical sections and missed
interrupts.
The W flag indicates that the process is waiting for an event;
the event column will be non-blank. Note that although there may
be several runnable processes at any time (shown in the 'ps'
listing as those without the W flag and with blank event fields)
only one process is actually running at any one instant (The
Refrigerator Light Effect says that the 'ps' command is always
the one running when this display is generated.)
in and out: The socket reference numbers. Use the 'socket'
command to obtain more detailed information.
>> An example of 'ps' display is shown on the next page.
.................................................................
: :
:Uptime 0:00:01:15 Stack 778a max intstk 55 :
: :
:PID SP stk max event fl in out name :
: size stk :
:81580008 813401ba 256 122 79fa012a IW 128 129 Telnet listener :
:80ea0008 821201bc 256 121 79fa01d8 IW 128 129 Finger listener :
:7d4f0008 87a706f6 1024 254 79fa03a8 IW 142 143 bbs :
:80f80008 81f001bc 256 121 79fa019e IW 128 129 SMTP listener :
:7cc60008 7cd101ca 256 153 67fef0ca W 128 129 keyboard :
:7ae80008 7b3603dc 512 36 67fee878 IW 128 129 killer :
:81dc0008 81ba01ca 256 94 79fa007c IW 128 129 AX25 listener :
:82a80008 82b201ba 256 139 79fa024c IW 128 129 TTYlink listener:
:7b120008 7d9301d4 256 40 67fef2b8 IW 128 129 ax0 tx :
:7b1e0008 7db501c8 256 46 67fef296 W 128 129 ax0 rx :
:82380008 82420522 768 129 79fa0212 IW 128 129 Remote listener :
:7cf50008 85860e6e 2048 316 79fa03e2 IW 145 145 mbox :
:81880008 816401bc 256 121 79fa00f0 IW 128 129 Discard listener:
:83740008 833002da 512 197 79fa02c0 IW 140 141 more :
:81b20008 819001bc 256 121 79fa00b6 IW 128 129 Echo listener :
:82d80008 82e201ca 256 121 79fa0286 IW 128 129 NETROM listener :
:81280008 810401bc 256 138 79fa0164 IW 128 129 FTP listener :
:84e50008 8925073c 1024 116 79fa0334 IW 142 143 tel_out :
:7bfa0008 7c040bd8 1536 329 67fee030 W 128 129 network :
:7ae00008 7b7807d6 1024 123 I 128 129 timer :
:79dc0008 7abd0144 250 130 I 128 129 display :
:79f20008 778a1f12 0 0 I 128 129 cmdintrp :
:...............................................................: